<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>

<!-- Menu -->
<jsp:include page="menuForGroup.jsp"/>

<div class="sub_nav">
    <ul>
        <li>
            <a href="#">
                <img src="<%= request.getContextPath()%>/images/menu/sub_general_on.gif" alt="gernal"/>
            </a>
        </li>
    </ul>
</div>
<!--END: Subnav -->

<!--START: conent -->
<div class="content2">
    <div class="insider">
        <div class="corners">
            <div class="corners_top"></div>
            <div class="column1">
                <table width="360" border="0" cellspacing="4" class="formlayout_table"
                       style="margin-left:auto; margin-right:auto;">
                    <tr>
                        <th width="50%">
                            <label for="User ID">Group:</label>
                        </th>
                        <td width="50%">
                            ${group.name}
                        </td>
                    </tr>

                    <tr>
                        <th>
                            <label for="Description">Description:</label>
                        </th>
                        <td><c:out value="${group.description}"/></td>
                    </tr>
                    <tr>
                        <th>
                            <label for="Contact Name">Contact Name:</label>
                        </th>
                        <td><c:out value="${group.contactName}"/></td>
                    </tr>

                    <tr>
                        <th>
                            <label for="Contact Email">Contact Email:</label>
                        </th>
                        <td>
                            ${group.contactEmail}
                        </td>
                    </tr>

                    <tr>
                        <th>
                            <label for="Contact Phone">Contact Phone:</label>
                        </th>
                        <td>
                            ${group.contactPhone}
                        </td>
                    </tr>

                    <tr>
                        <th><label>Last Modified Date:</label></th>
                        <td>
                            <fmt:formatDate value="${group.modifiedOn}" pattern="dd-MMM-yyyy"/>
                        </td>
                    </tr>

                    <tr>
                        <th><label>Last Modified By:</label></th>
                        <td>${group.modifiedBy.username}</td>
                    </tr>
                </table>
            </div>
            <ul class="functions1">
                <li>
                    <a href="#" onclick="Dialogs.unescapedLink('cancel.html?hasMsg=false', 'from')">
                        <img src="<%= request.getContextPath()%>/images/btn/functions1/back_to_results.gif"
                             class="btn"/>
                    </a>
                </li>
                <li>
                    <a href="edit.html?groupname=${group.name}">
                        <img src="<%= request.getContextPath()%>/images/btn/functions1/btn_edit.gif" class="btn"/>
                    </a>
                </li>
            </ul>
            <div class="corners_bottom"></div>
        </div>
        <div class="message">${message}<div/>
    </div>
</div>
<!--END: conent -->